import http from '@/libs/http'; 
class gaClServer { 
    async all(param) {
         let res= await http.get('/plu_ga/all', param);
          return res;
    } 


    async page(row) { 
        let res= await http.post('/plu_ga/page', row);
         return res; 
    } 


    async exportCsv(row) {
        let res = http.fileExport("/plu_ga/export", row);
        return res;
    }
    
    async add(row) { 
        let res= await http.post('/plu_ga/add', row);
         return res; 
    } 
    
    async edit(row) {
         let res= await http.post('/plu_ga/edit', row);
          return res; 
    }
      
    async del(row) { 
        let res= await http.post('/plu_ga/del', row); 
        return res;
    } 
}

const  gaServer = new  gaClServer();
export default gaServer;
                            